import React from 'react';
import Home from "@/views/home/index.jsx";
import LayOutIndex from "@/components/layout/index.jsx";
import lazyLoad from "@/router/utils/lazyLoad.jsx";

const homeRouter = [
    {
        element: <LayOutIndex/>,
        children: [
            {
                path: "/home",
                name: "Home",
                element: lazyLoad(Home),
                meta: {
                    requiresAuth: true,
                    title: "首页",
                    key: "home"
                }
            }
        ]
    }
]

export default homeRouter;